package main

import "fmt"

//0点
var eg_win = []float64{1.57,2.50,13.00}
var fn_og = []float64{3.00,2.00,3.75}
var ig_vgj = []float64{3.50,1.83,3.50}
var lg_mk = []float64{1.90,2.10,9.00}

//2:30
var nb_vp = []float64{7.5,2.25,1.9}
var op_ts = []float64{2.75,1.90,4.5}
var pn_vg = []float64{8.50,2.25,1.83}
var tnc_vgj = []float64{4.5,1.83,2.75}

//5:00
var mk_vgj = []float64{2.37,2.00,5.00}
var lgd_fn = []float64{1.8,2.25,9.00}
var ig_og = []float64{5.50,2.10,2.25}
var lq_win = []float64{1.57,2.40,15.00}

//0:0
var st_tnc = []float64{2.62,1.90,4.50}
var ts_vgj = []float64{6.5,2.00,2.20}
var vg_vp = []float64{7.00,2.20,1.90}
var pn_op = []float64{5.50,1.90,2.50}

//假设
var probabilityPoint = 1.90

func main() {

	for eg_win_k, eg_win_v := range st_tnc {
		for fn_og_k, fn_og_v := range ts_vgj {
			for ig_vgj_k, ig_vgj_v := range vg_vp {
				for lg_mk_k, lg_mk_v := range pn_op {
					probability := 1/eg_win_v +1/fn_og_v+1/ig_vgj_v+1/lg_mk_v
					if probability >probabilityPoint {
						diploid := eg_win_v *fn_og_v*ig_vgj_v*lg_mk_v
						fmt.Printf("%d%d%d%d = %0.2f\n",eg_win_k,fn_og_k,ig_vgj_k,lg_mk_k, diploid)
					}
				}
			}
		}
	}

}

